<!DOCTYPE html>
<html>
<head>
    <meta charset='utf8'>
    <script src='../build/tian.js'></script>
    <style>html, body, #oscanvas {margin: 0; width: 100%; height: 100%;} </style>
</head>
<body>
    <div id='oscanvas'></div>
<script>
    var layer, device;
    var os = new Tian.OS('oscanvas', 'http://127.0.0.1:2080/');
    os.themeHost = "../../fanghuanweiran/branches/theme/";
    os.boot();
    
        device = new Tian.Device({
            os: os,
            id: '4fe174a3692d8b6009000025',
            key: '255cc9ce67c1db4a562e37c20fac58a6',
            title: 'GT02A',
            lonlat: [120.0, 31.0],
            icon: '../../fanghuanweiran/branches/theme/default/img/default_device_icon.png', 
            page: '',
            width: 540,
            height: 300,
            dragable: true
        });
        
    os.devices && os.devices.addFeatures([device.feature]);
</script>
</body>
</html>
